.class Lcom/vividsolutions/jts/index/strtree/STRtree$2;
.super Ljava/lang/Object;
.source "STRtree.java"

# interfaces
.implements Ljava/util/Comparator;


# instance fields
.field private final synthetic this$0:Lcom/vividsolutions/jts/index/strtree/STRtree;


# direct methods
.method constructor <init>(Lcom/vividsolutions/jts/index/strtree/STRtree;)V
    .locals 0

    .line 70
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/vividsolutions/jts/index/strtree/STRtree$2;->this$0:Lcom/vividsolutions/jts/index/strtree/STRtree;

    return-void
.end method


# virtual methods
.method public compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .locals 3

    .line 71
    iget-object v0, p0, Lcom/vividsolutions/jts/index/strtree/STRtree$2;->this$0:Lcom/vividsolutions/jts/index/strtree/STRtree;

    check-cast p1, Lcom/vividsolutions/jts/index/strtree/Boundable;

    invoke-interface {p1}, Lcom/vividsolutions/jts/index/strtree/Boundable;->getBounds()Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/vividsolutions/jts/geom/Envelope;

    invoke-static {v0, p1}, Lcom/vividsolutions/jts/index/strtree/STRtree;->access$100(Lcom/vividsolutions/jts/index/strtree/STRtree;Lcom/vividsolutions/jts/geom/Envelope;)D

    move-result-wide v1

    iget-object p1, p0, Lcom/vividsolutions/jts/index/strtree/STRtree$2;->this$0:Lcom/vividsolutions/jts/index/strtree/STRtree;

    check-cast p2, Lcom/vividsolutions/jts/index/strtree/Boundable;

    invoke-interface {p2}, Lcom/vividsolutions/jts/index/strtree/Boundable;->getBounds()Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Lcom/vividsolutions/jts/geom/Envelope;

    invoke-static {p1, p2}, Lcom/vividsolutions/jts/index/strtree/STRtree;->access$100(Lcom/vividsolutions/jts/index/strtree/STRtree;Lcom/vividsolutions/jts/geom/Envelope;)D

    move-result-wide p1

    invoke-virtual {v0, v1, v2, p1, p2}, Lcom/vividsolutions/jts/index/strtree/AbstractSTRtree;->compareDoubles(DD)I

    move-result p1

    return p1
.end method
